// import { combineReducers } from "redux";
import { combineReducers } from "redux-immutable";

//推荐模块的reducer
import { reducer as recommendReducer } from "@/pages/discover/cpns/recommend/store";
//播放歌曲、详情、歌词...
import { reducer as playerReducer } from "@/pages/player/store";
//发现音乐-> 排行榜
import { reducer as rankingReducer } from "@/pages/discover/cpns/ranking/store";
//发现音乐-> 歌单
import { reducer as songsReducer } from "@/pages/discover/cpns/songs/store";
//发现音乐-> 主播电台
import { reducer as djradioReducer } from "@/pages/discover/cpns/djradio/store";
//发现音乐-> 歌手
import { reducer as artistReducer } from "@/pages/discover/cpns/artist/store";
//发现音乐-> 新碟上架
import { reducer as albumReducer } from "@/pages/discover/cpns/album/store";

//合并各个模块的reducer
const cReducers = combineReducers({
  recommend: recommendReducer,
  player: playerReducer,
  ranking: rankingReducer,
  songs: songsReducer,
  djradio: djradioReducer,
  artist: artistReducer,
  album: albumReducer
});

export default cReducers;